package cn.com.nes.site.controller.agent.vo;

import cn.com.nes.site.entity.em.agent.grant.AgentGrantTypeEnum;
import cn.com.nes.site.entity.vo.PageVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("渠道授权分页列表-入参模型")
public class AgentGrantPageVO extends PageVO {

    @NotNull(message = "代理关系ID")
    @ApiModelProperty(value = "代理关系ID", required = true)
    private Long agentRelationshipId;

    @ApiModelProperty("授权类型")
    private AgentGrantTypeEnum grantType;

}
